package com.wac.blog.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author wuancheng
 * @description
 * @date 2023-02-08 13:46:00
 */

@Slf4j
@RestController
public class HealthController {

    @RequestMapping(value = "/health", method = RequestMethod.GET)
    public String health(String s){
        log.info("OK " + s);
        return "OK";
    }
}
